obj-m := csdn_algo_pte.o
csdn_algo_pte-y := csdn_algo.o

KERNEL_SRC ?= /home/lyfan/share/user_code/merge/linux-xlnx-xilinx-v2019.2_lv_deb/

default:
	$(MAKE) -C $(KERNEL_SRC) M=${PWD} modules

clean:
	$(MAKE) -C $(KERNEL_SRC) M=${PWD} clean
	rm -rf *.o *.mod.* *.ko *.o.p

help:
	@echo "default: csdn_algo_pte.ko"
	@echo "clean"
